Integrand size = 22, antiderivative size = 48 \[ \int \frac {\csc ^2(a+b x)}{\sqrt {\sin (2 a+2 b x)}} \, dx=\frac {2 \operatorname {EllipticF}\left (a-\frac {\pi }{4}+b x,2\right )}{3 b}-\frac {\csc ^2(a+b x) \sqrt {\sin (2 a+2 b x)}}{3 b} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {4385, 2720} \[ \int \frac {\csc ^2(a+b x)}{\sqrt {\sin (2 a+2 b x)}} \, dx=\frac {2 \operatorname {EllipticF}\left (a+b x-\frac {\pi }{4},2\right )}{3 b}-\frac {\sqrt {\sin (2 a+2 b x)} \csc ^2(a+b x)}{3 b} \]
[In]
[Out]
Rule 2720
Rule 4385
Rubi steps \begin{align*} \text {integral}& = -\frac {\csc ^2(a+b x) \sqrt {\sin (2 a+2 b x)}}{3 b}+\frac {2}{3} \int \frac {1}{\sqrt {\sin (2 a+2 b x)}} \, dx \\ & = \frac {2 \operatorname {EllipticF}\left (a-\frac {\pi }{4}+b x,2\right )}{3 b}-\frac {\csc ^2(a+b x) \sqrt {\sin (2 a+2 b x)}}{3 b} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 0.36 (sec) , antiderivative size = 62, normalized size of antiderivative = 1.29 \[ \int \frac {\csc ^2(a+b x)}{\sqrt {\sin (2 a+2 b x)}} \, dx=-\frac {\left (\csc ^2(a+b x)-2 \operatorname {Hypergeometric2F1}\left (\frac {1}{4},\frac {1}{2},\frac {5}{4},-\tan ^2(a+b x)\right ) \sqrt {\sec ^2(a+b x)}\right ) \sqrt {\sin (2 (a+b x))}}{3 b} \]
[In]
[Out]
Time = 6.49 (sec) , antiderivative size = 123, normalized size of antiderivative = 2.56
method | result | size |
default | \(\frac {\sqrt {\sin \left (2 x b +2 a \right )+1}\, \sqrt {-2 \sin \left (2 x b +2 a \right )+2}\, \sqrt {-\sin \left (2 x b +2 a \right )}\, \operatorname {EllipticF}\left (\sqrt {\sin \left (2 x b +2 a \right )+1}, \frac {\sqrt {2}}{2}\right ) \sin \left (2 x b +2 a \right )-2 \cos \left (2 x b +2 a \right )^{2}-2 \cos \left (2 x b +2 a \right )}{3 \sin \left (2 x b +2 a \right )^{\frac {3}{2}} \cos \left (2 x b +2 a \right ) b}\) | \(123\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.09 (sec) , antiderivative size = 103, normalized size of antiderivative = 2.15 \[ \int \frac {\csc ^2(a+b x)}{\sqrt {\sin (2 a+2 b x)}} \, dx=-\frac {\sqrt {2 i} {\left (\cos \left (b x + a\right )^{2} - 1\right )} F(\arcsin \left (\cos \left (b x + a\right ) + i \, \sin \left (b x + a\right )\right )\,|\,-1) + \sqrt {-2 i} {\left (\cos \left (b x + a\right )^{2} - 1\right )} F(\arcsin \left (\cos \left (b x + a\right ) - i \, \sin \left (b x + a\right )\right )\,|\,-1) - \sqrt {2} \sqrt {\cos \left (b x + a\right ) \sin \left (b x + a\right )}}{3 \, {\left (b \cos \left (b x + a\right )^{2} - b\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {\csc ^2(a+b x)}{\sqrt {\sin (2 a+2 b x)}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\csc ^2(a+b x)}{\sqrt {\sin (2 a+2 b x)}} \, dx=\int { \frac {\csc \left (b x + a\right )^{2}}{\sqrt {\sin \left (2 \, b x + 2 \, a\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {\csc ^2(a+b x)}{\sqrt {\sin (2 a+2 b x)}} \, dx=\int { \frac {\csc \left (b x + a\right )^{2}}{\sqrt {\sin \left (2 \, b x + 2 \, a\right )}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\csc ^2(a+b x)}{\sqrt {\sin (2 a+2 b x)}} \, dx=\int \frac {1}{{\sin \left (a+b\,x\right )}^2\,\sqrt {\sin \left (2\,a+2\,b\,x\right )}} \,d x \]
[In]
[Out]